package com.book.oauth.server.model.vo;

import java.util.Date;
import java.math.BigDecimal;
import java.io.Serializable;
import com.book.common.util.DatetimeUtil;
import lombok.Data;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Description：模块 Entity
 * @Author： leo.xiong
 * @CreateDate： 2020-05-26
 * @Email： leo.xiong@suyun360.com
 * Version: 
 */
@Data
@ExcelTarget("modelVo")
@ApiModel(value = "ModelVo", discriminator = "模块Vo", subTypes = {ModelVo.class})
public class ModelVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    @Excel(name = "名称", width = 30, isImportField = "true_st")
    private String name;

    @ApiModelProperty(value = "编码")
    @Excel(name = "编码", width = 30, isImportField = "true_st")
    private String code;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建人名称")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DatetimeUtil.YYYY_MM_DD_HH_MM_SS_L_C,timezone=DatetimeUtil.CHINA_TIME_ZONE)
    private Date createDate;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新人名称")
    private String updateName;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DatetimeUtil.YYYY_MM_DD_HH_MM_SS_L_C,timezone=DatetimeUtil.CHINA_TIME_ZONE)
    private Date updateDate;

}
